package com.example.administrator.gplineview;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.SurfaceHolder;

public class MySurfaceViewActivity extends AppCompatActivity {

    private MySurfaceView mSurfaceView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my_surface_view);
        mSurfaceView = (MySurfaceView) findViewById(R.id.surface_view);
        SurfaceHolder holder = mSurfaceView.getHolder();
    }
}
